<template>
  <section>
    <statistics-view ref="statisticsRef" />
    <auth-list @refresh-statistic="handleRefreshStatistics" />
  </section>
</template>
<script lang="ts" setup>
import AuthList from './components/AuthList.vue'
import StatisticsView from './components/StatisticsView.vue'
const statisticsRef = ref<InstanceType<typeof StatisticsView>>()
const handleRefreshStatistics = () => {
  statisticsRef.value?.request()
}
</script>
